package com.skywolf.chem.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.skywolf.chem.common.config.data.DataSource;
import com.skywolf.chem.common.config.data.DataSourceNames;
import com.skywolf.chem.common.sysconfig.pojo.vo.PageVO;
import com.skywolf.chem.manager.entity.*;
import com.skywolf.chem.match.entity.Info;
import com.skywolf.chem.match.entity.Type;

import java.util.List;

/**
 * Created by pei_pei on 2021/9/26.
 */
public interface ActivityService extends IService<Info> {
    PageVO<ActivityVo> getActivityList(ActivityParam queryParam);

    List<Type> getActivityTypeList();

    void addActivity(ActivityRequest request) throws Exception;

    void delActivity(Long id);

    void applyActivity(ActivityApplyRequest request);

    ActivityRequest getActivityInfo(Long id);

    PageVO<ActivityRecordVo> getUserList(ActivityRecordRequest pageParam);

    void applyActivityUser(ActivityApplyUserRequest request);

    ActivityUserInfoResponse getActivityUserInfo(Long id);

    List<ReportUserListVo> getReportUserList(String activityName);

    List<Type> getActivityTypeListTest();
}
